
<section id="content" >
	<div class="container aside-xl"  style="width: 400px;margin-top: 15%;"> 
		<div class="widget widget-blue" style="margin-bottom:5px;">
			<div class="widget-title">	
				<h3><i class="fa fa-ok-circle"></i> UPDATE PASSWORD</h3>
			</div>
			<div class="widget-content">
				<?php 
				if(isset($this->data['st'])){
					?>
					<div class="alert alert-success alert-dismissable">
						<i class="fa fa-times-circle"></i> <strong>Success!</strong> <?php echo $this->data['msg']?>
						<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
					</div>
					<?php
				}else{	
					if(isset($this->data['msg'])){?>
					<div class="alert alert-danger alert-dismissable">
						<i class="fa fa-times-circle"></i> <strong>Error!</strong> <?php echo $this->data['msg']?>
						<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
					</div>
					<?php
					 }	
				}?>
				<?php if(!isset($this->data['block'])){?>
					
				<?php }else{
					if(!isset($this->data['st'])){ ?>
						<form class="" role="form" method="POST">
						<div class="input-group">
							<span class="input-group-addon"><i class="fa fa-key"></i></span>
							<input type="password" class="form-control" placeholder="Password" name="password">
						</div>
						<br/>
						<div class="text-right">
							<input type="submit" class="btn btn-primary" value="Change Password" name="submit">
						</div>

					</form>
					<?php }	?>
					
				<?php } ?>
				
			</div>
		</div>
		<div class="text-center"><span class="help-block">Never mind, <a href="<?php echo base_url()?>login" title="send me back to the sign-in screen" >send me back to the sign-in screen</a> </span></div>
	</div>
</section>